-- GENERATED SPELL FOR [Giant Ember Worg] --


function spell0_9697(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9697', 15000, 1)
end

function Sorts_9697(pUnit, Event)
local choix_sorts_9697 = math.random(0, 0)
if choix_sorts_9697 == 0 then
pUnit:RegisterEvent('spell0_9697', 1, 1)
end
end

function mob9697_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9697', math.random(1500, 3000), 1)
end

function mob9697_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9697_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9697_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9697, 1, 'mob9697_Action')
RegisterUnitEvent(9697, 2, 'mob9697_Leave')
RegisterUnitEvent(9697, 3, 'mob9697_Kill')
RegisterUnitEvent(9697, 4, 'mob9697_Die')
